#ifndef RANGE_H_
#define RANGE_H_

namespace spectClean {

class Range
{
    public:
        Range() : _min(0.0), _max(0.0), _mean(0.0) {};

        Range(const double min, const double max, const double mean = 0.0)
        : _min(min), _max(max), _mean(mean) {}

        ~Range() {}

    public:
        void set(const double min, const double max, const double mean = 0.0)
        : _min(min), _max(max), _mean(mean) {}

        void setMin(const double value) { _min = value; }
        double min() const { return _min; }

        void setMax(const double value) { _max = value; }
        double max() const { return _max; }

        void setMean(const double value) { _mean = value; }
        double mean() const { return _mean; }

    private:
        double _min;
        double _max;
        double _mean;
};

} // namespace spectClean
#endif // RANGE_H_
